﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Sinacor.Infra.Tools.ServiceRegistration.Entity
{
    public class EntityBase
    {
        #region Attributes

        private DateTime? _dateChange;
        private DataOrigin? _DataOrigin;
        private bool _isItemDivergent;

        #endregion

        #region Constructor

        public EntityBase()
        {
            _DataOrigin = Entity.DataOrigin.Web;
        }

        #endregion

        #region Properties

        public DateTime? DateChange
        {
            get { return _dateChange; }
            set { _dateChange = value; }
        }

        public DataOrigin? DataOrigin
        {
            get { return _DataOrigin; }
            set { _DataOrigin = value; }
        }

        public bool IsItemDivergent
        {
            get { return _isItemDivergent; }
            set { _isItemDivergent = value; }
        }

        #endregion
    }
}
